{% extends 'iframe/basePlus.html.twig' %}
{% block cardHeader %}
    查看<a href="/Admin/ModelField/index" class="layui-btn layui-btn-sm" style="float:right;margin-top:6px;">列表</a>
{% endblock %}
{% block cardBody %}
    <style>
        .layui-badge {
            margin-right: 1px;
        }
    </style>
    <table class="layui-table">
        <colgroup>
            <col width="200">
            <col width="2000">
        </colgroup>
        <tr>
            <td>ID</td>
            <td>{{ rs.id }}</td>
        </tr>
        <tr>
            <td>模型</td>
            <td><div class="dryMergeRequest" role="tag" field="dry_model" url="/Api/Model/getList" iframeUrl="" full="1">{{ rs.dry_model }}</div></td>
        </tr>
        <tr>
            <td>字段ID</td>
            <td>{{ rs.dry_field }}</td>
        </tr>
        <tr>
            <td>字段名</td>
            <td>{{ rs.dry_database_field }}</td>
        </tr>
        <tr>
            <td>字段</td>
            <td><div class="dryMergeRequest" role="tag" field="dry_field" url="/Api/Field/getList" iframeUrl="" full="1">{{ rs.dry_field }}</div></td>
        </tr>
        <tr>
            <td>表单类型</td>
            <td><div class="dryMergeRequest" role="tag" field="dry_form_type" url="/Api/Choice/getListByKey?key=formType" iframeUrl="" full="1">{{ rs.dry_form_type }}</div></td>
        </tr>
        <tr>
            <td>排序</td>
            <td>{{ rs.dry_sort }}</td>
        </tr>
        <tr>
            <td>字段列表排序</td>
            <td>{{ rs.dry_field_list_sort }}</td>
        </tr>
        <tr>
            <td>是否初始隐藏列</td>
            <td><div class="dryMergeRequest" role="tag" field="dry_is_init_hide" url="/Api/Choice/getListByKey?key=yesNo" iframeUrl="" full="1">{{ rs.dry_is_init_hide }}</div></td>
        </tr>
        <tr>
            <td>列表即时编辑</td>
            <td><div class="dryMergeRequest" role="tag" field="dry_is_list_edit" url="/Api/Choice/getListByKey?key=yesNo" iframeUrl="" full="1">{{ rs.dry_is_list_edit }}</div></td>
        </tr>
        <tr>
            <td>列表点击排序</td>
            <td><div class="dryMergeRequest" role="tag" field="dry_is_list_click_sort" url="/Api/Choice/getListByKey?key=yesNo" iframeUrl="" full="1">{{ rs.dry_is_list_click_sort }}</div></td>
        </tr>
        <tr>
            <td>字段模板</td>
            <td><div class="dryMergeRequest" role="tag" field="dry_field_template" url="/Api/Choice/getListByKey?key=fieldTemplate" iframeUrl="" full="1">{{ rs.dry_field_template }}</div></td>
        </tr>
        <tr>
            <td>字段宽度</td>
            <td><div class="dryMergeRequest" role="tag" field="dry_field_width" url="/Api/Choice/getListByKey?key=fieldWidth" iframeUrl="" full="1">{{ rs.dry_field_width }}</div></td>
        </tr>
        <tr>
            <td>添加时间</td>
            <td>{{ rs.dry_add_time }}</td>
        </tr>
    </table>
    <script>
        layui.use(['dry'], function(dry){
            dry.mergeRequest();
        });
    </script>
{% endblock %}